@layout("/common/_container.html",{js:["/assets/content/article/article.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <input id="title" class="layui-input" type="text" placeholder="标题"/>
                            </div>
                            <div class="layui-inline">
                                <input id="author" class="layui-input" type="text" placeholder="作者"/>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">状态</label>
                                <div class="layui-input-block">
                                    <select id="status">
                                        <option value="">全部</option>
                                        <option value="1">启用</option>
                                        <option value="0">禁用</option>
                                    </select>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">分类</label>
                                <div class="layui-input-block">
                                    <select id="categoryId">
                                        <option value="">全部</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="layui-btn-container">
                            <button id="btnSearch" class="layui-btn layui-btn-sm icon-btn layui-btn-normal"><i class="layui-icon">&#xe615;</i>搜索</button>
                            <button id="btnAdd" class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
                            <button id="reIndex" class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon"></i>批量重建索引</button>
                            <button id="btnDel" class="layui-btn layui-btn-sm icon-btn layui-btn-danger"><i class="layui-icon">&#xe640;</i>删除</button>
                        </div>
                    </div>
                    <table class="layui-table" id="contentArticleTable" lay-filter="contentArticleTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
</script>
@}